* {
  margin: 0;
  padding: 0;
}
/* body初始化样式 */
body {
  max-width: 540px;
  min-width: 320px;
  margin: 0 auto;
  font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei",
    STXihei, hei;
  color: #000;
  background: #f2f2f2;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  height: 2000px;
}
ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
div {
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #222;
}
.search-index {
  display: flex;
  /* 固定定位 */
  /* 固定定位跟父级没有关系，他以屏幕为准 */
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  /* 固定定位应该有宽度 */
  width: 100%;
  height: 44px;
  max-width: 540px;
  min-width: 320px;
  /* background-color: pink; */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #f6f6f6;
}
.search {
  position: relative;
  /* display: block; */
  /* left: 5px; */
  height: 26px;
  line-height: 24px;
  border: 1px solid #ccc;
  flex: 1;
  font-size: 12px;
  color: #666;
  margin: 7px 10px;

  margin-right: 54px;
  padding-left: 25px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
  box-shadow: 0 2 rgba(0, 0, 0, 0.2);
}
.search::before {
  position: absolute;
  left: 5px;
  top: 5px;
  content: "";
  width: 15px;
  height: 15px;
  background: url(../images/sprite.png) no-repeat -59px -279px;
  background-size: 104px auto;
}
.user {
  position: absolute;
  right: 0;
  width: 44px;
  height: 44px;
  text-align: center;
  color: #2eaae0;
  font-size: 12px;
}
.user::before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  background: url(../images/sprite.png) no-repeat -59px -195px;
  background-size: 104px auto;
  margin: 3px auto -2px;
}
.focus {
  position: relative;
  padding-top: 44px;
  overflow: hidden;
}

.focus img {
  width: 100%;
}
.focus ul {
  overflow: hidden;
  width: 500%;
  margin-left: -100%;
}
.focus ul li {
  float: left;
  width: 20%;
}
.focus ol {
  position: absolute;
  bottom: 5px;
  right: 5px;
  margin: 0;
}

.focus ol li {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #fff;
  list-style: none;
  border-radius: 2px;
  transition: all 0.3s;
}
.focus ol .current {
  width: 15px;
}
.local-nav {
  overflow: hidden;
  margin: 3px 4px;
}
.local-nav ul {
  display: flex;
  max-width: 540px;
  min-width: 320px;
  width: 100%;
  height: 64px;
  background-color: #fff;

  border-radius: 8px;
}
.local-nav ul li {
  flex: 1;
}
.local-nav a {
  display: flex;
  /* 把主轴设为Y轴 */
  flex-direction: column;
  /* 侧轴对齐 */
  align-items: center;
  font-size: 12px;
}
.local-nav li [class^="local-nav-icon"] {
  width: 32px;
  height: 32px;
  margin-top: 8px;
  background: url(../images/localnav_bg.png) no-repeat 0px 0px;
  background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon2 {
  background: url(../images/localnav_bg.png) no-repeat 0px -32px;
  background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon3 {
  background: url(../images/localnav_bg.png) no-repeat 0px -64px;
  background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon4 {
  background: url(../images/localnav_bg.png) no-repeat 0px -96px;
  background-size: 32px auto;
}
.local-nav li .local-nav-icon-icon5 {
  background: url(../images/localnav_bg.png) no-repeat 0px -128px;
  background-size: 32px auto;
}

.nav {
  overflow: hidden;
  border-radius: 8px;
  margin: 0 4px 3px;
}
.nav-common {
  display: flex;
  height: 88px;
}
.nav-common:nth-child(2) {
  margin: 3px 0px;
}
.nav-item {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nav-item:nth-child(-n + 2) {
  border-right: 1px solid #fff;
}
.nav-item a {
  flex: 1;
  text-align: center;
  line-height: 44px;
  color: #fff;
  font-size: 14px;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}
.nav-item a:nth-child(1) {
  border-bottom: 1px solid #fff;
}
.nav-item:nth-child(1) a {
  border: 0;
  background: url(../images/hotel.png) no-repeat bottom center;
  background-size: 121px auto;
}
.nav-common:nth-child(1) {
  background: -webkit-linear-gradient(left, #fa5a56, #fa9b4d);
}
.nav-common:nth-child(2) {
  background: -webkit-linear-gradient(left, #4b90ed, #53bbed);
}
.nav-common:nth-child(3) {
  background: -webkit-linear-gradient(left, #34c2a9, #6cd557);
}
.subnav-entry ul {
  display: flex;
  border-radius: 8px;
  background-color: #fff;
  margin: 0 4px;
  /* 换行 */
  flex-wrap: wrap;
  box-shadow: 0.1px 1px rgba(0, 0, 0, 0.2);
}
.subnav-entry ul li {
  /* 里面的子盒子可以写百分比  相对于父亲来说的*/
  flex: 20%;
}
.subnav-entry a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.subnav-entry [class^="subnav-entry-icon"] {
  width: 28px;
  height: 28px;
  background-color: pink;
  margin-top: 4px;
  background: url(../images/subnav-bg.png) no-repeat;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon2 {
  background: url(../images/subnav-bg.png) no-repeat 0 -28px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon3 {
  background: url(../images/subnav-bg.png) no-repeat 0 -56px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon4 {
  background: url(../images/subnav-bg.png) no-repeat 0 -62px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon5 {
  background: url(../images/subnav-bg.png) no-repeat 0 -97px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon6 {
  background: url(../images/subnav-bg.png) no-repeat 0 -132px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon7 {
  background: url(../images/subnav-bg.png) no-repeat 0 -163px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon8 {
  background: url(../images/subnav-bg.png) no-repeat 0 -197px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon9 {
  background: url(../images/subnav-bg.png) no-repeat 0 -230px;
  background-size: 28px auto;
}
.subnav-entry ul li a .subnav-entry-icon-icon10 {
  background: url(../images/subnav-bg.png) no-repeat 0 -257px;
  background-size: 28px auto;
}
.sales-box {
  border-top: 1px solid #bbb;
  background-color: #fff;
  margin: 4px;
}
.sales-hd {
  position: relative;
  height: 44px;
  border-bottom: 1px solid #ccc;
}
.sales-hd h2 {
  position: relative;
  text-indent: -999px;
  overflow: hidden;
}
.sales-hd h2::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 8px;
  width: 79px;
  height: 15px;
  background: url(../images/hot.png) no-repeat 0 -20px;
  background-size: 79px auto;
}
.more {
  position: absolute;
  right: 25px;
  top: 12px;
  background: -webkit-linear-gradient(left, #ff4f67, #ff6bc7);
  border-radius: 15px;
  padding: 3px 20px 3px 10px;
  color: #fff;
}
.more::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotateZ(45deg);
}
.row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.row a:nth-child(1) {
  border-right: 1px solid #eee;
}
.row a {
  flex: 1;
}
.row a img {
  width: 100%;
}
